function showFrame(src, height, width) {
    $("body").append("<div class='modal fade' id='model1' tabindex='-1' role='dialog' aria-labelledby='loginModelLabel' aria-hidden='true'>\n" +
        "    <div class='modal-dialog modal-lg'>\n" +
        "        <div class='modal-content'>\n" +
        "            <div class='modal-header'>\n" +
        "                <div id='times'></div>\n" +
        "                <button type='button' onclick='javascript:location.reload();' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>\n" +
        "            </div>\n" +
        "            <div id='modal_conent' class='modal-body'>\n" +
        "                <iframe id='frame1' src='' style='zoom: 0.8;' height='900px' frameBorder='0' width='99.6%'></iframe>\n" +
        "            </div>\n" +
        "        </div>\n" +
        "    </div>\n" +
        "</div>");
    getDate();
    setInterval("getDate()", 1000);
    var frame = $("#frame1");
    frame.attr("src", src);
    frame.attr("height", height + "px");
    $(".modal-dialog").css("width", width + "px");
    $("#model1").modal('show');
    //使用定时器每秒向div写入当前时间
}
function getDate() {	// 在times中嵌入时间
    var date = new Date();
    $("#times").text(date.toLocaleString());
}